import React, { Component } from 'react';
import '../index.css'
import Gjhs1 from './高阶函数1'
import Gjzj from './高阶组件展示'
class gjzj extends Component {
  constructor(props) {
    super(props);
    this.state = {  }
  }
  render() { 
    return ( 
      <div>
        <ul className="myUl clearfix">
          <li>
            <div>高阶函数</div>
            <Gjhs1></Gjhs1>
          </li>
          <li>
            <div>高阶组件展示----新版本用hooks</div>
            <Gjzj></Gjzj>
          </li>
        </ul>
      </div>
    );
  }
}
 
export default gjzj;